require('#/table/bootstrap-table')

$('#myTable').bootstrapTable('destroy');    //销毁table
$('#myTable').bootstrapTable({
    striped: true,      //使表格带有条纹
    // singleSelect: true,
    // showColumns: true,
    showToggle: true,
    columns: [
        { field: 'realTjNum', title: '团检', align: 'center' },
        { field: 'realNotTjNum', title: '非团检', align: 'center' },
        { field: 'test1', title: '测试一', align: 'center' },
        { field: 'test2', title: '测试二', align: 'center' }
    ],
    data: [
        { realTjNum: 1, realNotTjNum:2, test1: 'test1', test2: 'test1' },
        { realTjNum: 21, realNotTjNum:21, test1: 'test12', test2: 'test12' }
    ],
    onRefreshTable: function () {   //表格右侧刷新按钮
        // SYS.physicalQuantity.initData();
    }
});
